<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/AdminBase.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<title>GI ADMIN</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<?if(0){?>
<link href="css/admin_all.css" rel="stylesheet" type="text/css" />
<?}?>
<link href="<?=$TPL[url]?>css/admin_all.css" rel="stylesheet" type="text/css" />
<script src="<?=$TPL[url]?>js/admin_all.js" language="javascript"></script>
<script>
var imgpath = '<?=$TPL[url]?>images';
</script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>
<div class="tt">
<?if($tabs){?>
  <ul class="nav3">
  <?
  foreach($tabs as $t_name => $t_url ){
  ?>
  <li><a href="<?=$t_url?>"><?=$t_name?></a></li>
  <?}?>
  </ul>
<?}?>
<?if($tip){?>
  <div class="c"></div>
  <h3>功能提示</h3>
  <div class="tr5"><?=$tip?></div>
<?}?>
 <!-- InstanceBeginEditable name="Content" -->
  <form action="<?=$this->url('Save')?>" method="post" enctype="multipart/form-data">
    <h2><b><?=$TPL[action] == 'Create'? "添加":"编辑"?>
    人员</b></h2>
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr class="tr3">
        <th nowrap="nowrap">专家ID</th>
        <td width="90%"><?html_textbox('uid',$data['uid'])?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">真实姓名</th>
        <td><?html_textbox('name',$data['name'])?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">专家头像</th>
        <td><?html_filefield('photo',$data['_photo'])?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">专家单位</th>
        <td><?html_textbox('company',$data['company'])?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">专家职位</th>
        <td><?html_textbox('position',$data['position'])?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">专家职称</th>
        <td><?html_textbox('title',$data['title'])?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">专家领域</th>
        <td><?html_dropdown_list("domain[]",$option_domain,$data['domain'],'size="6" multiple="multiple"')?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">专家类别</th>
        <td><?html_dropdown_list("type",$option_type,$data['type'])?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">个人简介</th>
        <td><?html_editor('detail',$data['detail'],'Admin','97%',"300px")?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">个人相册</th>
        <td><?html_editor('pictures',$data['pictures'],'Admin','97%',"300px")?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">主要著作</th>
        <td><?html_editor('works',$data['works'],'Admin','97%',"300px")?></td>
      </tr>
      <tr class="tr3">
        <th nowrap="nowrap">弟子心声</th>
        <td><?html_editor('student',$data['student'],'Admin','97%',"300px")?></td>
      </tr>
    </table>
    <br />
    <center>
      <input name="id" type="hidden" id="id" value="<?=$data[id]?>" />
      <input name="submit" type="submit" class="btn" value='提 交' />
      <input name="goback" type="button" class="btn" value='返回' onclick="history.go(-1)" />
    </center>
  </form>
  <!-- InstanceEndEditable --></div>
<div class="c"></div>
<div class="bottom">
<?include("Footer")?>
</div>
</body>
<!-- InstanceEnd --></html>
